<?php
Zend_Loader::loadClass("Model");

class GlazingPanesGases extends Model
{
	protected $_name   = 'rel_glazing_pane_gas';
	protected $_primary = array('id_glazing', 'layer');

	protected $_referenceMap    = array(
			'madeOf' => array(
					'columns'           => 'id_glazing',
					'refTableClass'     => 'Glazing',
					'refColumns'        => 'id'
			),
			'partOf1' => array(
					'columns'           => 'id_pane',
					'refTableClass'     => 'Panes',
					'refColumns'        => 'id'
			),
			'partOf2' => array(
					'columns'           => 'id_gas',
					'refTableClass'     => 'Gases',
					'refColumns'        => 'id'
			));
}
?>